<template>
	<view>
		<header-bar :title=titleName>
			<uni-icons type="undo" size="23" slot="back"></uni-icons>
		</header-bar>
		<image src="https://s2.loli.net/2022/05/29/LKV9oaFBfJeQZgj.webp"></image>
		<view class="text">
			表单提交成功！
		</view>
		<button @click="go">去抽奖</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				titleName: "结果",
			}
		},
		methods: {
			go: function() {
				uni.navigateTo({
					url: '/subpkg/draw/draw'
				})
			},
		}
	}
</script>

<style>
	image {
		margin: 80rpx 50rpx;
	}

	.text {
		width: 230rpx;
		color: rgb(48, 111, 224);
		font-size: 33rpx;
		margin: 0 auto;
		margin-top: -50rpx;
	}

	button {
		width: 210rpx;
		margin: 70rpx 260rpx;
		color: white;
		background-color: rgb(48, 111, 224);
	}
</style>
